package com.hs.srm.base.modules.sys.service.impl;

import java.util.Map;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hs.srm.base.common.utils.QueryParam;
import com.hs.srm.base.modules.sys.dao.SysProvincesDao;
import com.hs.srm.base.modules.sys.entity.SysProvincesEntity;
import com.hs.srm.base.modules.sys.service.SysProvincesService;
import com.hs.srm.common.utils.PageUtils;

@Service("sysProvincesService")
public class SysProvincesServiceImpl extends ServiceImpl<SysProvincesDao, SysProvincesEntity> implements
		SysProvincesService {

	@Override
	public PageUtils queryPage(Map<String, Object> params) {
		Page<SysProvincesEntity> page = this.selectPage(new QueryParam<SysProvincesEntity>(params).getPage(),
				new EntityWrapper<SysProvincesEntity>());
		return new PageUtils(page);
	}

}
